//
//  Singleton.m
//  FISH
//
//  Created by 鱼儿飞 on 2018/4/8.
//  Copyright © 2018年 www.yimindai.com. All rights reserved.
//

#import "Singleton.h"
static Singleton *singleton = nil;
@implementation Singleton
+ (Singleton*)ShareDatabase
{
    if(singleton == nil)
    {
        singleton=[[super alloc]init];
    }
    return singleton;
}
@end
